﻿@{ Layout = null; }
@using MySoftWare.BaseModel;
@model LoginModel
<!DOCTYPE html>
<head>
    <title>@{ViewBag.Title = "系统登录";}</title>
@*    <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />*@
    <link href="@Url.Content("~/Content/Login.css")" rel="Stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"></script>
	<script src="@Url.Content("~/Scripts/MicrosoftAjax.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/MicrosoftMvcValidation.js")" type="text/javascript"></script>
</head>           
<body >
    @using (Html.BeginForm())
    {
    <div id="LoginMain">
            <table style="width: 100%; height: 100%; vertical-align: middle;   
                padding: 0px" cellpadding="0" cellspacing="0">
                <tr style="height: 150px;">
                    <td>
                    </td>
                </tr> 
                <tr style="width: 100%; height: 50%;">
                    <td align="center" valign="middle">
                        <div style="width: 410px">
                            <table id="tableid" cellpadding="0" cellspacing="0">
                                <tr style="height: 50px">
                                    <td style="height: 50px; width: 410px;">
                                        <table style="width: 100%;" cellpadding="0" cellspacing="0">
                                            <tr>
                                                <td>
                                                    <img alt="" width="409px" src="../Content/Images/Design/login_PT.jpg" />
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                                <tr style="height: 20px">
                                    <td style="width: 410px">
                                        &nbsp;
                                    </td>
                                </tr>
                                <tr style="height: 191px">
                                    <td valign="top" style="width: 410px">
                                        <table style="width: 100%" cellspacing="0" cellpadding="0">
                                            <tr>
                                                <td style=" height: 48px" align="right" >
                                                   
                                                        @Html.Label("lblUserName","登录用户")</td>
                                                <td style="width: 226px;" align="left" >
                                                    &nbsp;
                                                           @Html.TextBoxFor(m => m.UserAccount, new { style = "width:150px;", cssClass = "flatInput" })
                                                            
                                                </td>
                                                <td style="width: 39px"></td>
                                            </tr>
                                            <tr>
                                                <td align="right" style="height: 48px" valign="middle">
                                                        @Html.Label("lblUserPassword","登录密码") </td>
                                                <td style="width: 226px" align="left" >
                                                    &nbsp;        
                                                         @Html.PasswordFor(m => m.UserPassword, new { style = "width:150px;",cssClass = "flatInput" })         
                                                </td>
                                                <td style="width: 39px">
                                                </td>
                                            </tr>

                                            <tr style="height: 20px;">
                                                <td >
                                                     <font size="12">@Html.ValidationMessageFor(m => m.UserAccount)</font>
                                                </td>
                                                <td style="width: 226px">
                                                <font size="12">@Html.ValidationMessageFor(m => m.UserPassword)</font>
                                                    
                                                </td>
                                                <td style="width: 39px">
                                                </td>
                                            </tr>
                                            <tr style="height: 56px">
                                                <td style="height: 56px">
                                                </td>
                                                <td align="right" style="height: 56px; width: 226px;">
                                                <input type="submit" value="登录" />
                                                    &nbsp;
                                                </td>
                                                <td style="width: 39px; height: 56px;">
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                                @*<tr style="height: 28px">
                                    <td id="endtd">
                                        &nbsp;
                                    </td>
                                </tr>*@
                            </table>
                        </div> 
                    </td>
                </tr>
                <tr style="height: 148px;">
                    <td>
                    </td>
                </tr>
            </table>
        </div>
    }
</body>
</html>